<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 16:46:36
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/RealStorage/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11144516555161326c525ff6-77673692%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '282778ec2017effb3681210a00b2a995ee94c794' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/RealStorage/list.tpl',
      1 => 1364183643,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11144516555161326c525ff6-77673692',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
    'list' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5161326c5ec07',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5161326c5ec07')) {function content_5161326c5ec07($_smarty_tpl) {?><table id="index" class="list" border=0>
<thead><tr>
<?php if ($_POST['show_warehouse']){?><th width="15px">&nbsp;</th><?php }?>
<th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_no'];?>
</th>
<th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_name'];?>
</th>
<?php if (C('storage_color')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['color_name'];?>
</th><?php }?>
<?php if (C('storage_size')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['size_name'];?>
</th><?php }?>
<th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['quantity'];?>
</th>
<?php if (C('storage_format')>=2){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['capability'];?>
</th><?php }?>
<?php if (C('storage_format')>=3){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['dozen'];?>
</th><?php }?>
<?php if (C('storage_format')>1){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['sum_quantity'];?>
</th><?php }?>
<?php if (C('storage_mantissa')){?><th width=""><?php echo $_smarty_tpl->tpl_vars['lang']->value['mantissa_2'];?>
</th><?php }?>
</tr>
</thead>
<tbody>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list']->value['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<tr>
<?php if ($_POST['show_warehouse']){?><td><a href="javascript:void(0)" expand="0" onclick="$.expand(this)" url="<?php echo U('Ajax/storageExtend');?>
" where="<?php echo urlencode("\"product_id\":".($_smarty_tpl->tpl_vars['item']->value['product_id']).",\"color_id\":".($_smarty_tpl->tpl_vars['item']->value['color_id']).",\"size_id\":".($_smarty_tpl->tpl_vars['item']->value['size_id']).",\"capability\":".($_smarty_tpl->tpl_vars['item']->value['capability']).",\"dozen\":".($_smarty_tpl->tpl_vars['item']->value['dozen']).",\"mantissa\":".($_smarty_tpl->tpl_vars['item']->value['mantissa']).",\"stop_date\":\"".($_POST['stop_date'])."\"");?>
"><span class="icon icon-pattern-plus"></span></a></td><?php }?>

<td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['product_no']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['product_no'];?>
<?php if ($_smarty_tpl->tpl_vars['item']->value['product_no']!=''){?><?php echo smarty_function_autoshow(array(),$_smarty_tpl);?>
<?php }?></td>

<td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['product_name']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['product_name'];?>
</td>
<?php if (C('storage_color')){?><td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['color_name']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['color_name'];?>
</td><?php }?>
<?php if (C('storage_size')){?><td width="" <?php if ($_smarty_tpl->tpl_vars['item']->value['size_name']==''){?>class="b_top_load"<?php }?>><?php echo $_smarty_tpl->tpl_vars['item']->value['size_name'];?>
</td><?php }?>
<td width="" class="t_right"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_quantity'];?>
</td>
<?php if (C('storage_format')>=2){?><td  class="t_right"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_capability'];?>
</td><?php }?>
<?php if (C('storage_format')>=3){?><td  class="t_right"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_dozen'];?>
</td><?php }?>
<?php if (C('storage_format')>1){?><td  class="t_right"><?php echo $_smarty_tpl->tpl_vars['item']->value['dml_real_storage'];?>
</td><?php }?>
<?php if (C('storage_mantissa')){?><td class="t_center"><?php if ($_smarty_tpl->tpl_vars['item']->value['mantissa']==2){?>√<?php }?></td><?php }?>
</tr>
<?php } ?>
</tbody>
</table><?php }} ?>